package com.guigu.service.impl;

import com.guigu.mapper.SetmealMapper;
import com.guigu.pojo.Setmeal;
import com.guigu.service.SetmealService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class SetmealServiceImpl implements SetmealService {
    @Autowired
    SetmealMapper mapper;
    @Override
    public List<Setmeal> selectByPrimaryKey(Integer sex) {
        return mapper.selectByPrimaryKey(sex);
    }

    @Override
    public List<Setmeal> BDetails(Integer id) {
        return mapper.BDetails(id);
    }

    @Override
    public Setmeal ca(Integer id) {
        return mapper.ca(id);
    }
}
